//
//  aftertasteAppDelegate.h
//  aftertaste
//
//  Created by Someone Else on 4/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "aftertasteMainMenu.h"
#import "aftertasteDetailViewController.h"

@interface aftertasteAppDelegate : NSObject <UIApplicationDelegate> {
	aftertasteMainMenu *mainMenu;
	aftertasteDetailViewController *detailViewController;
	UINavigationController *navigationController;
	UIViewController *rootViewController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, retain) aftertasteMainMenu *mainMenu;
@property (nonatomic, retain) aftertasteDetailViewController *detailViewController;
@property (nonatomic, retain) UINavigationController *navigationController;
@property (nonatomic, retain) UIViewController *rootViewController;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


- (void)startLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)finishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)makeMainMenu;
- (void)makeDetailView;

@end
